<?php

class MembreController extends Zend_Controller_Action
{

	public function init()
    {
        /* Initialize action controller here */
    	$val ="tester le init";
    	$this->view->__set("test", $val);
    }

	public function indexAction()
	{
		$this->view->form = $form = new Application_Form_Inscription();
		if($post = $this->_request->isPost()){
			$formData = $this->getRequest()->getPost();
			if($form->isValid($formData)){
				// Traitement
			}else{
				$form->populate($formData);
			}
		}
		
	}
	
}